#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>

int main()
{
	int arr1[] = { 1,2,3 };
	int arr2[] = { 4,5,6 };
	int arr3[] = { 7,8,9 };
	int* p[] = { &arr1,&arr2,&arr3 };
	int c = sizeof(p) / sizeof(p[1]);
	for (int i = 0; i < c; i++) {
		int j = 0;
		for (j = 0; j < c; j++) {
			printf("%d ", p[i][j]);
		}
		printf("\n");
	}

}